package com.example.webmodule.strategy;

public class RegistryStrategyFactory {

    private RegistryStrategyFactory() {
    }

    /**
     * 获取 SaStrategy 对象的单例引用
     */
    public static final RegistryStrategyFactory instance = new RegistryStrategyFactory();

    private RegistrySelectStrategy registryStrategy;

    public void setRegistryStrategy(RegistrySelectStrategy registryStrategy) {
        this.registryStrategy = registryStrategy;
    }

    public RegistrySelectStrategy getStrategy() {
        return registryStrategy;
    }
}
